package com.huilian.iotbox.mqtt.server.base.service.impl;

import com.huilian.iotbox.data.dto.CommodityStockRecordDto;
import com.huilian.iotbox.mqtt.server.base.dao.CommodityStockRecordDao;
import com.huilian.iotbox.mqtt.server.base.service.CommodityStockRecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class CommodityStockRecordServiceImpl implements CommodityStockRecordService {
    @Resource
    private CommodityStockRecordDao commodityStockRecordDao;

    @Override
    public void add(CommodityStockRecordDto commodityStockRecordDto) {
        commodityStockRecordDao.add(commodityStockRecordDto);
    }
}
